﻿using System;
using System.Text;
using System.Web;
using System.Web.UI;

namespace AjaxUploadServer
{
	
	public partial class Default : System.Web.UI.Page
	{
		public void Page_Init()
		{
			//Response.ContentEncoding = Encoding.UTF8;
			//Response.ContentType = "text/json";
			//Response.AddHeader("Access-Control-Allow-Origin", "*");
			//Response.Headers["Access-Control-Allow-Origin"] = "*";
			//Response.Headers["Access-Control-Allow-Origin"] = "http://127.0.0.1";
			////Response.Write(ServerMan.CommandHeaderName);
			////Response.Write(MKLIB.SparrowJson.ConvertDateTime(DateTime.Now));
			////Response.Write(MKLIB.SparrowJson.Convert("\"\"\r\n////".GetType()));
			//Response.AppendHeader("Access-Control-Allow-Origin", "*");
			//Response.Write(new OutputObject());

			var man = new ServerManage(new ServerManager());
			man.Output();
			
		}
		protected override void OnInitComplete(EventArgs e)
		{
			

		}
		protected override void OnLoadComplete(EventArgs e)
		{
			// base.OnLoadComplete(e);
		}
	}
}

